package com.ywk.transactional.demo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author zbh
 * @Date 2025/3/16
 */
public class UserMain {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
        UserService userService = ctx.getBean("userService", UserService.class);
        userService.transfer2();
    }
}
